package com.zxbg.service.proportalService;

import com.zxbg.domain.Process;

import java.util.List;
import java.util.Map;

public interface ProcessCenterService {
    public String submitForm(String app_id, Object formData, Integer mode, String employee_id, Integer tenant_id, Integer process_id);

    public List<Process> getTargetProcessInfo(String key, String mode, String employee_id, Integer tenant_id, String status, String app_id);

    public Object getFormData(Integer process_id);

    public boolean deleteProcess(Integer process_id);

    public Process getOneTargetProcess(Integer process_id, Integer operate_node);

    public List<String> getNodeButtons(Integer process_id, String mode, Integer tenant_id, Integer operate_node);

    public String setApprovalResult(Integer process_id, String result, String employee_id);

    public Map<String, Object> getSteps(Integer process_id, Integer tenant_id);
}
